import { ISysGroup } from '/@/views/fileattachment/api/interface';
import { ISysPerson, ISysOrg } from '/@/views/fileattachment/api/interface';


export interface ISysDailyOvertimeRequestBill {
	ID?: string | null;
	PersonId: null;
	Person?: ISysPerson;
	StaffNo: string | null;
	Name: string | null;
	RecordId?: string | null;
	StartTime: Date | null;
	EndTime: Date | null;
	OvertimeHours: number | null;
	CompensationType?: '等时调休' | '薪资补助' | null;
	RemainingCompOffHours: number | null;
	Reason: string | null;
	Approver: string | null;
	ApprovalTime: Date | null;
	GroupId: null;
	Group?: ISysGroup;
	OrgId: null;
	Org?: ISysOrg;
	BillCode: string | null;
	BillStatus?: '草稿' | '正文' | null;
	WorkflowStatus?: '待提交' | '提交中' | '审核中' | '已完成' | '已取消' | '待处理' | '处理中' | '已处理' | null;
	Remark: string | null;
}

export interface ISysDailyOvertimeRequestBillVm {
	Entity: ISysDailyOvertimeRequestBill;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;
	Remark?: string | null;
}

export interface ISysDailyOvertimeRequestBillView extends ISysDailyOvertimeRequestBill {

}

export interface ISysDailyOvertimeRequestBillQuery {
	PersonId?: string | null;
	StaffNo?: string | null;
	Name?: string | null;
	StartTime?: Date | null;
	EndTime?: Date | null;
	OvertimeHours?: number | null;
	CompensationType?: number | null;
	RemainingCompOffHours?: number | null;
	Reason?: string | null;
	Approver?: string | null;
	ApprovalTime?: Date | null;
	GroupId?: string | null;
	OrgId?: string | null;
	BillCode?: string | null;
	BillStatus?: number | null;
	WorkflowStatus?: number | null;
	Remark?: string | null;
}